#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
using namespace std;
int n,s[1001][1001],c[1001][1001];
int main()
{
	freopen("network.in","r",stdin);
	freopen("network.out","w",stdout);
	cin>>n;
	for(int i=0;i<n;i++)
	{
		char a[6],b[1001];
		cin>>a>>b;
		if(a=="Server")
		{
			for(int j=0;j<strlen(a);j++)
			   s[j][i]=b[j];
		}
		if(a=="Client")
		{
			for(int j=0;j<strlen(b);j++)
			   c[j][i]=b[j];
		}
	}
	fclose(stdin);
	fclose(stdout);
	return 0;
}
